package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.time.LocalDateTime;


import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 粮情主对象 grainsituation_record
 * 
 * @author ruoyi
 * @date 2025-04-03
 */
@TableName(value = "grainsituation_record")
@Data
@ApiModel("粮情主")
public class GrainsituationRecord
{
    private static final long serialVersionUID = 1L;

    /** 主键自增 */
    @ApiModelProperty("主键自增")
    private Long id;

    /** 检测时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("检测时间")
    @TableField("detectionTime")
    private LocalDateTime detectionTime;

    /** 仓房ID */
    @Excel(name = "仓房ID")
    @ApiModelProperty("仓房ID")
    private Long warehouseId;

    /** 最大值 */
    @Excel(name = "最大值")
    @ApiModelProperty("最大值")
    @TableField("maxTemValue")
    private BigDecimal maxTemValue;

    /** 最小值 */
    @Excel(name = "最小值")
    @ApiModelProperty("最小值")
    @TableField("minTemValue")
    private BigDecimal minTemValue;

    /** 平均值 */
    @Excel(name = "平均值")
    @ApiModelProperty("平均值")
    @TableField("avgTemValue")
    private BigDecimal avgTemValue;

    /** 仓内温 */
    @Excel(name = "仓内温")
    @ApiModelProperty("仓内温")
    @TableField("inTemValue")
    private BigDecimal inTemValue;

    /** 仓内湿 */
    @Excel(name = "仓内湿")
    @ApiModelProperty("仓内湿")
    @TableField("inHumValue")
    private BigDecimal inHumValue;

    /** 外温 */
    @Excel(name = "外温")
    @ApiModelProperty("外温")
    @TableField("outTemValue")
    private BigDecimal outTemValue;

    /** 外湿 */
    @Excel(name = "外湿")
    @ApiModelProperty("外湿")
    @TableField("outHumValue")
    private BigDecimal outHumValue;

    /** 上传标志 */
    @Excel(name = "上传标志")
    @ApiModelProperty("上传标志")
    @TableField("uploadStatus")
    private Long uploadStatus;

    /** 上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("上传时间")
    @TableField("uploadDate")
    private LocalDateTime uploadDate;

}
